<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Логистическая система Автобаза">
<link rel="shortcut icon"
	href="<c:url value='resources/img/autobase.ico'/>" type="image/x-icon">
<link rel="stylesheet" type="text/css"
	href="<c:url value='/resources/css/style.css'/>" />

<script type="text/javascript" src="<c:url value='/resources/js/script.js'/>"></script>
<title><spring:message code="order_new_title" /></title>

</head>

<body onload="loadScripts()">

	<div class="container">
		<p class="lang">
			<spring:message code="current_lang" /> <br> <a href="?language=en">EN</a> | <a href="?language=ru">RU</a> 
		</p>
		<div class="header">
			<p>
			<spring:message code="today" />: <span id="time"></span> 
			<span id="date"></span>
			</p>
			<p align="center">
				<spring:message code="hello" />
			</p>
		</div>
		<div>
			<div class="left">
				<p>
					<a href="../login"><spring:message code="login" /></a><br>
					<a href="order/info"><spring:message code="search_order" /></a><br>
					<a href="../"><spring:message code="back_to_main" /></a>
				</p>
			</div>
			<div class="center">
			
				<form name="loginform" action="order/ordered">
				<p>
					<spring:message code="enter_order_data" />
				</p>
				<p>
					<spring:message code="address" /><br>
					<spring:message code="address_start" /> <input type="text" id="startAdress" name="startAdress"	placeholder="Enter start adress"><br> 
					<spring:message code="address_finish" /> <input type="text" id="destinationAdress" name="destinationAdress" placeholder="Enter destination adress"><br>
					<spring:message code="date" /><br>
					<spring:message code="date_start" /> <input type="date" id="dateStart" name="dateStart" placeholder="Start date"><br>
					<spring:message code="date_finish" /> <input type="date" id="dateFinish" name="dateFinish" placeholder="Finish date"><br>
					<spring:message code="cargo_weight" /> <input type="text" id="cargoWeight" name="cargoWeight" placeholder="Enter cargo weight">
				</p>
				<p>
					<input name="submit" type="submit" value="Submit order">
				</p>
			</form>
					
			</div>
			<div class="right">			

			</div>
		</div>

		<div class="footer">
			<p class="copyright"><spring:message code="autobase_system" /></p>
		</div>
	</div>
</body>
</html>